home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
util
/
misc
/
cookies.lha
/
Cookie
/
README.Amiga
< prev
next >
Wrap
Text File
|
1993-10-16
|
1KB
|
39 lines
Short: a very fast fortune program
This is a very fast fortune cookie program.
It prints a nice quote/saying/joke from your cookie database.
The cookie database is a plain text file, entries are separated
by "\n%%\n". So you can easily add your own cookies with a
simple text editor. Once (after installation or changing your
database) you have to generate a hash-table (a small file with
lots of numbers) which helps Cookie to get an amazing fast
access to entries in even very large databases.
Includes C-source and 2 MB fortune cookies.
Contact me if you want more ;-)
Amiga version by Andreas M. Kirchwitz,
original Unix version by Karl Lehenbauer
UUCP/Internet: amk@zikzak.in-berlin.de
Usage: Join all your cookies to one big (raw) file.
"onecookie <fortune_raw >fortune_file"
(once, to remove double cookies... not neccessary,
needs lots of memory -- just ignore if you don't
care of some double cookies)
"cookhash <fortune_file >fortune_hash"
(once, after installation or change of database)
"cookie fortune_file fortune_hash"
(as often as you want, prints a nice fortune cookie)
Twice the fun, double the trouble... Andreas